package com.gome.ocean.service.authority;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;
import com.gome.ocean.dao.model.authority.GSystemUpdateLog;

/**
 * @author liyuefeng
 */
public interface SystemUpdateLogService {

    public boolean deleteByPrimaryKey(Long id);

    public boolean insertSelective(GSystemUpdateLog record);

    public GSystemUpdateLog selectByPrimaryKey(Long id);

    public boolean updateByPrimaryKeySelective(GSystemUpdateLog record);

    public boolean updateAll();

    public List<GSystemUpdateLog> findLatelySysLogByStatusAndScope(Map<String, Object> param);

    public List<GSystemUpdateLog> getLogByGroup(Map<String, Object> param);

    public Page<GSystemUpdateLog> getList(int pageNum, int pageSize);

    public String findMaxTimeByStatusAndScope(Map<String, Object> param);

    public Map<String, Object> getAllSysLogByMap(Map<String, Object> param);
}
